package com.crm.dao.mapper.contractManager;

import com.crm.model.entity.contractManager.CustomerContract;
import com.crm.model.entity.contractManager.CustomerContractExample;

import java.util.List;

import com.crm.model.entity.contractManager.RepaymentAbility;
import org.apache.ibatis.annotations.Param;

public interface CustomerContractMapper {
    long countByExample(CustomerContractExample example);

    int deleteByExample(CustomerContractExample example);

    int deleteByPrimaryKey(String contractId);

    int insert(CustomerContract record);

    int insertSelective(CustomerContract record);

    List<CustomerContract> selectByExampleWithBLOBs(CustomerContractExample example);

    List<CustomerContract> selectByExample(CustomerContractExample example);

    CustomerContract selectByPrimaryKey(String contractId);

    int updateByExampleSelective(@Param("record") CustomerContract record, @Param("example") CustomerContractExample example);

    int updateByExampleWithBLOBs(@Param("record") CustomerContract record, @Param("example") CustomerContractExample example);

    int updateByExample(@Param("record") CustomerContract record, @Param("example") CustomerContractExample example);

    int updateByPrimaryKeySelective(CustomerContract record);

    int updateByPrimaryKeyWithBLOBs(CustomerContract record);

    int updateByPrimaryKey(CustomerContract record);
}